﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="edit.aspx.cs" Inherits="AnyOffice.general.system.code.edit" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title></title>
    <script Language="JavaScript">
function CheckForm()
{
   if(document.form1.txtCodeNo.value=="")
   { alert("代码编号不能为空！");
     return (false);
   }

   if(document.form1.txtCodeNo.value=="")
   { alert("代码名称不能为空！");
     return (false);
   }
}
</script>
</head>
<body class="bodycolor" topmargin="5">
    <form id="form1" runat="server">
        <asp:Panel ID="pnlMain" runat="server">
        
    <table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
  <tr>
    <td class="Big"><img src="/images/edit.gif" align="absmiddle"><span class="big3"> 编辑代码项</span>
    </td>
  </tr>
</table>

<br>
<TABLE class="small" cellSpacing="1" cellPadding="2" width="300" align="center" bgColor="#000000" border="0">
   <tr height="30">
    <td nowrap class="TableData">代码主分类：</td>
    <td nowrap class="TableData">
        <asp:Literal ID="litCodeName" runat="server"></asp:Literal>
    </td>
   </tr>
   <tr>
    <td nowrap class="TableData">代码编号：</td>
    <td nowrap class="TableData">
        <asp:TextBox ID="txtCodeNo" runat="server" CssClass="BigInput" MaxLength="200"></asp:TextBox></td>
   </tr>
   <tr>
    <td nowrap class="TableData">代码名称：</td>
    <td nowrap class="TableData">
        <asp:TextBox ID="txtCodeName" runat="server" CssClass="BigInput" MaxLength="200"></asp:TextBox></td>
   </tr>
   <tr>
    <td nowrap  class="TableControl" colspan="2" align="center">
        &nbsp;<input type="submit" value="确定" class="BigButton" onclick="return CheckForm()">&nbsp;&nbsp;
        <input type="button" value="返回" class="BigButton" onclick="history.back();">
    </td>
</table>
</asp:Panel>
        <asp:Literal ID="litMessage" runat="server"></asp:Literal>
    </form>
</body>
</html>
